package com.spring.oaassist.web.dao;

import java.util.List;
import java.util.Map;

import org.springframework.data.repository.query.Param;

import com.spring.oaassist.web.model.Custom;
import com.spring.oaassist.web.requestModel.CourseTextbook;
import com.sso.api.web.model.MemberCard;

public interface OaAssistMapper {
	List<Map<String,Object>> queryScheduler(Map<String,Object> m);
	List<Map<String,Object>> queryCustomerList(Map<String,Object> m);
	List<Map<String, Object>> queryCustomerServerList(Map<String, Object> parm);
	List<Map<String, Object>> queryCustomerSpace(Map<String, Object> parm);
	List<Map<String, Object>> queryClassCommont(Map<String, Object> parm);
	List<Map<String, Object>> queryTextList(Map<String, Object> parm);
	List<Map<String, Object>> queryPhotoList(Map<String, Object> parm);
	List<Map<String, Object>> queryVideoList(Map<String, Object> parm);
	List<Map<String, Object>> queryCourseInfoList(Map<String, Object> parm);
	List<Map<String, Object>> queryCourseStudentsList(Map<String, Object> parm);
	List<Map<String, Object>> queryCourseScheduler(Map<String, Object> parm);
	List<Map<String, Object>> queryMemberConsumeHis(Map<String, Object> parm);
	List<Map<String, Object>> queryUnMemberConsumeHis(Map<String, Object> parm);
	List<Map<String, Object>> queryBizCueByApplication(Map<String, Object> parm);
	List<Map<String, Object>> queryProduct(Map<String, Object> parm);
	List<Map<String, Object>> queryCommentList(Map<String, Object> parm);
	
	void deleteParkProduct(Map<String, Object> parm);
	void insertParkProduct(Map<String, Object> parm);
	void updateParkProduct(Map<String, Object> parm);
	List<Map<String, Object>> queryKidsParkByOaShopId(@Param(value="shop_dept_id") String shop_dept_id);
	List<Map<String, Object>> queryAssistUserInfo(Map<String, Object> parm);
	void delAssistUserInfo(@Param(value="c_user_id") String c_user_id);
	void saveAssistUserInfo(Map<String, Object> model);
	void removeParkProduct(Map<String, Object> parm);
	List<Custom> getCustomList(Map<String, Object> parm);
	List<MemberCard> queryMemberCardInfo(Map<String, Object> parm);
	int updateWorkSchedule(Map<String, Object> data);
	int saveWorkSchedule(Map<String, Object> data);
	List<Map<String, Object>> queryCustCourseApply(Map<String, Object> parm);
	List<Map<String, Object>> queryMemberPackageCourse(@Param(value="member_number") String member_number);
	
	int reComment(Map<String, Object> parm);
	int commentPhone(Map<String, Object> parm);
	List<Map<String, Object>> getPhoneComment(String course_image_id);
	List<Map<String, Object>>  getVideoComment(String videoID);
	int commentVideo(Map<String, Object> parm);
	List<Map<String, Object>> getKidsList();	
	
	List<Map<String, Object>> getAdmissionWay();
	List<Map<String, Object>>queryCourseTextbook(Map<String, Object> parm);
	int deleteCourseTextbook(Map<String, Object> parm);
	int insertCourseTextbook(CourseTextbook ct);
	int updateCourseTextbook(CourseTextbook ct);
	
	int deleteScheduleByID(String scheduleID);
	String getInfoSource(String name);
	int copyWorkSchedule(Map<String, Object> parm);
}
